package monitor

import (
	"main/middleware"

	"github.com/gin-gonic/gin"
)

func RegisterMonitorRoutes(router *gin.Engine) {
	protected := router.Group("/easymonitor") // 可以根据需要调整路径
	protected.Use(middleware.AuthMiddleware())
	{
		protected.GET("/api/get_project_base_merit_dict", GetProjectBaseMeritList) // 获取菜单
		protected.GET("/api/project_healthcalendar", ProjectHealthCalendar)        // 获取健康日历
		protected.GET("/api/project_app_runinfo", AppRunInfo)                      // 获取APP运行信息
		protected.GET("/api/project_port_runinfo", PortRunInfo)                    // 获取APP运行信息
	}
}
